package com.ld.control.business.robot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ld.control.business.robot.model.RobotPointModel;
import com.ld.control.business.robot.vo.req.RobotPointReqVo;
import com.ld.control.business.robot.vo.resp.RobotPointRespVo;
import com.ld.control.common.vo.GeneratePageListVo;

import java.util.List;

/**
 * <p>
 * 机械臂点位信息 服务类
 * </p>
 *
 * @author wangfeng
 * @since 2024-07-08
 */
public interface RobotPointService extends IService<RobotPointModel> {

    void add(RobotPointReqVo reaVo);

    void update(RobotPointReqVo reaVo);

    void delete(Long id);

    List<RobotPointRespVo> getList(Long regionId);

    GeneratePageListVo<RobotPointRespVo> getPageList(Long regionId, String name, Integer type,
                                                     String targetPoint, String initPoint, Integer current, Integer size);
    RobotPointRespVo getById(Long id);

    RobotPointRespVo getByName(String name);

}
